#include "HammurabiNet.h"
#include "GlobalIncludes.h"
#include "ClientInterface.h"
int main(int argv, char** argc)
{
	bool isRunning = true;

	clientInterface ci;
	ci.init();

	hammurabiNet* theNet;
	theNet = hammurabiNet::getInstance();
	theNet->init();
	theNet->setClient(&ci);
	theNet->input("newgame");
	while(isRunning)
	{
		theNet->update();
		if(ci.update()==0)
			isRunning = false;
	}
	getch();
	//delete theNet;
	//theNet = 0;
}